<?php
header('Location:http://www.mangse.com/');
get_header();
?>
<div id="content" class="content">
	<div id="innerContent">
	<div class="textbox">
	<div class="textbox_header"></div>
	<div class="textbox_inner">
	<?php if (have_posts()) : ?>
		<?php while (have_posts()) : the_post(); ?>
	                <div class="textbox-title">
	                    <h1><?php the_title(); ?></h1>
						<h2 class="post_author"> 
								<div class="photo_left"><?php echo get_avatar( get_the_author_email(), '40' ); ?></div>
								<div class="author_right">
								  <div class="author_right_top">
									<Span><?php the_author_posts_link(); ?> [ <span><?php printf(__('%s', 'kubrick'), get_the_category_list(', ')); ?></span> ]
									</span>
								  </div>
								  <div class="author_right_bottom">
									<?php the_time(__('F jS, Y', 'kubrick')) ?>
									[<?php comments_popup_link(__('看法', 'kubrick'), __('1个看法', 'kubrick'), __('%个看法', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?>]
								</div>	
								</div>	 
							</h2>
	                </div>
	                <div class="textbox-content article-content">
	                	
	                	<div><?php the_content('<br /><span class="tip">阅读全文</span>'); ?></div>
	                	
	                	<?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'kubrick') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
		                
	                	<p class="postmetadata">
		                <?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', '<br />'); ?>
		                </p>
		                                
		                <div class="article-bottom" style="display: block">
							<div class="pages">
								<!--相关-->
									<span class="pagebar-selections">
									<div class="alignleft"><?php previous_post_link('&laquo; %link') ?>&nbsp;<?php next_post_link('%link &raquo;') ?></div>
									</span>
							</div>
						</div>
					</div>
					<?php comments_template(); ?>
					<?php endwhile; else: ?>
					<h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2>
					<p class="center"><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'kubrick'); ?></p>
					<?php get_search_form(); ?>
		<?php endif; ?>
		</div>
				<div class="textbox_footer"></div>
			</div>
	</div>
</div>
	
<?php get_sidebar(); ?>
<?php get_footer(); ?>